package com.naire.modul.answer.service;

import net.common.service.GeneralService;
import com.naire.modul.answer.dao.AnswerDao;
import com.naire.modul.answer.dao.impl.AnswerDaoImpl;
import com.naire.modul.answer.vo.AnswerVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class AnswerDeleteService extends GeneralService {

	private AnswerVo bean;

	@Override
	public void execute() throws Exception {
		AnswerDao dao = new AnswerDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(AnswerVo bean) {
		this.bean = bean;
	}

}
